#ifndef ADMINADDNEWFOODWINDOW_H
#define ADMINADDNEWFOODWINDOW_H

#include <QWidget>
#include <QDebug>
#include <QString>

#include "FoodTable.h"
#include "Food.h"

namespace Ui {
class AdminAddNewFoodWindow;
}

class AdminAddNewFoodWindow : public QWidget
{
    Q_OBJECT

public:
    explicit AdminAddNewFoodWindow(QWidget *parent = nullptr);
    ~AdminAddNewFoodWindow();

signals:
    void broadcast_data_changed();  //通知食物列表数据变了

private:
    Ui::AdminAddNewFoodWindow *ui;

private slots:
    void replyShowAdminAddNewFoodWindow();  //显示添加食物界面
    void on_add_btn_clicked();  //确认添加食物
};

#endif // ADMINADDNEWFOODWINDOW_H
